package com.cqhilink.iot.jobstandardmanagement.facade.model;

import com.cqhilink.api.common.utils.annotation.RightAnnotation;
import com.cqhilink.iot.jobstandardmanagement.facade.utils.poi.ExcelVOAttribute;
//import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 人员信息
 */
public class Employee extends BootstrapSearchBean implements Serializable {

    private static final long serialVersionUID = 6563751613319785314L;
    //人员ID
    private String employeeId;

    //岗位ID
    private String postId;

    //人员名称
    @ExcelVOAttribute(name = "姓名", column = "C")
    private String name;

    //性别
    private Short sex;

    //操作员ID
    private String operatorId;

    //工号
    @ExcelVOAttribute(name = "工号", column = "F")
    private String workNumber;

    //组织机构ID
    @ExcelVOAttribute(name = "组织", column = "A")
    private String orgId;

    //部门ID
    @ExcelVOAttribute(name = "部门", column = "B")
    private String depId;
    //入职时间
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date enrollDate;

    //生日
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday;

    //工卡ID
    private String cardId;

    //员工照片内部编码
    private String portraitCode;

    //移动电话
    @ExcelVOAttribute(name = "联系电话", column = "E")
    private String mobilePhone;

    //办公电话
    private String officeTel;

    //住址
    private String address;

    //邮编
    private String postcode;

    //QQ号
    private String qqid;

    //EMAIL
    @ExcelVOAttribute(name = "邮箱", column = "D")
    private String email;

    //紧急联络人姓名
    private String emgContactPerson;

    //紧急联络电话
    private String emgContactTel;

    //备注
    private String description;

    //状态 0正常，1禁用，2作废
    private Short status;

    //创建人ID
    private String creatorId;

    //创建时间
    private Date createTime;

    //修改人ID
    private String modifierId;

    //修改人时间
    private Date modifyTime;

    //用户登陆ID
    private String loginId;

    //工种类型ID，在postType表
    private String workSpeciesId;


    /*接口字段*/
    //用户密码
    private String password;
    //删除标识
    private String bsflag;
    //用户语言设置
    private String language;
    //?
    private String skinName;
    //?
    private String domainType;
    //用户类型
    private String userType;
    //上次登录时间
    private Date lastLoginTime;
    //本次登录时间
    private Date thisLoginTime;
    //登录IP
    private String loginIp;
    //临时数据
    private String enrollDatets;
    //生日？
    private String birthdayts;
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startTime;
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime;

    @RightAnnotation
    private String showOrgId ;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getShowOrgId() {
        return showOrgId;
    }

    public void setShowOrgId(String showOrgId) {
        this.showOrgId = showOrgId;
    }

    public String getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(String employeeId) {
        this.employeeId = employeeId == null ? null : employeeId.trim();
    }

    public String getPostId() {
        return postId;
    }

    public void setPostId(String postId) {
        this.postId = postId == null ? null : postId.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Short getSex() {
        return sex;
    }

    public void setSex(Short sex) {
        this.sex = sex;
    }

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId == null ? null : operatorId.trim();
    }

    public String getWorkNumber() {
        return workNumber;
    }

    public void setWorkNumber(String workNumber) {
        this.workNumber = workNumber == null ? null : workNumber.trim();
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId == null ? null : orgId.trim();
    }

    public String getDepId() {
        return depId;
    }

    public void setDepId(String depId) {
        this.depId = depId == null ? null : depId.trim();
    }

    public Date getEnrollDate() {
        return enrollDate;
    }

    public void setEnrollDate(Date enrollDate) {
        this.enrollDate = enrollDate;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId == null ? null : cardId.trim();
    }

    public String getPortraitCode() {
        return portraitCode;
    }

    public void setPortraitCode(String portraitCode) {
        this.portraitCode = portraitCode == null ? null : portraitCode.trim();
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone == null ? null : mobilePhone.trim();
    }

    public String getOfficeTel() {
        return officeTel;
    }

    public void setOfficeTel(String officeTel) {
        this.officeTel = officeTel == null ? null : officeTel.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getPostcode() {
        return postcode;
    }

    public void setPostcode(String postcode) {
        this.postcode = postcode == null ? null : postcode.trim();
    }

    public String getQqid() {
        return qqid;
    }

    public void setQqid(String qqid) {
        this.qqid = qqid == null ? null : qqid.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getEmgContactPerson() {
        return emgContactPerson;
    }

    public void setEmgContactPerson(String emgContactPerson) {
        this.emgContactPerson = emgContactPerson == null ? null : emgContactPerson.trim();
    }

    public String getEmgContactTel() {
        return emgContactTel;
    }

    public void setEmgContactTel(String emgContactTel) {
        this.emgContactTel = emgContactTel == null ? null : emgContactTel.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Short getStatus() {
        return status;
    }

    public void setStatus(Short status) {
        this.status = status;
    }

    public String getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(String creatorId) {
        this.creatorId = creatorId == null ? null : creatorId.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getModifierId() {
        return modifierId;
    }

    public void setModifierId(String modifierId) {
        this.modifierId = modifierId == null ? null : modifierId.trim();
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getEnrollDatets() {
        return enrollDatets;
    }

    public void setEnrollDatets(String enrollDatets) {
        this.enrollDatets = enrollDatets;
    }

    public String getBirthdayts() {
        return birthdayts;
    }

    public void setBirthdayts(String birthdayts) {
        this.birthdayts = birthdayts;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getLoginId() {
        return loginId;
    }

    public void setLoginId(String loginId) {
        this.loginId = loginId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getBsflag() {
        return bsflag;
    }

    public void setBsflag(String bsflag) {
        this.bsflag = bsflag;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public String getSkinName() {
        return skinName;
    }

    public void setSkinName(String skinName) {
        this.skinName = skinName;
    }

    public String getDomainType() {
        return domainType;
    }

    public void setDomainType(String domainType) {
        this.domainType = domainType;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public Date getThisLoginTime() {
        return thisLoginTime;
    }

    public void setThisLoginTime(Date thisLoginTime) {
        this.thisLoginTime = thisLoginTime;
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }

    public String getWorkSpeciesId() {
        return workSpeciesId;
    }

    public void setWorkSpeciesId(String workSpeciesId) {
        this.workSpeciesId = workSpeciesId;
    }

}